﻿using UnityEngine;
using System.Collections;

public class SoundOnCollision : MonoBehaviour
{
	[SerializeField]
	string			m_soundID;


	void OnCollisionEnter2D(Collision2D coll)
	{
		//Debug.Log("asdf");
		SoundManager.PlaySfx(SoundInfos.GetSfx(m_soundID), transform);
	}
}
